/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package abstractas;

/**
 *
 * @author alumnom
 */
public class Herbivoro extends Mamifero {
    public Herbivoro(String nNombre){
        super(nNombre);
    }
    
    @Override public String comer(){
        return "Como hierba!!!!!";
    }
     @Override public String expresar(){
        return "MUUU, BEEE";
    }
}
